package com.cnfangmao.masterdata.dto;

import io.swagger.annotations.ApiModelProperty;

public class BasicDataFieldMetadataDto {

	@ApiModelProperty("字段元数据Id")
	private String fieldId;

	@ApiModelProperty("主数据元数据Id")
	private String metadataId;

	@ApiModelProperty("字段英文名称")
	private String fieldCode;

	@ApiModelProperty("字段中文名称")
	private String fieldName;

	@ApiModelProperty("字段类型1：字符串 2：整型 3：长整型 4：浮点型 5：日期6：文件")
	private Integer fieldType;

	@ApiModelProperty("字段长度")
	private Integer fieldLength;

	@ApiModelProperty("是否不允许为空")
	private Integer isNotNull;

	@ApiModelProperty("是否唯一")
	private Integer isUnique;

	@ApiModelProperty("是否在列表中显示")
	private Integer isShow;

	@ApiModelProperty("枚举类型Id")
	private String enumTypeId;

	@ApiModelProperty("列表中显示顺序")
	private Integer showIndex;

	public String getFieldId() {
		return fieldId;
	}

	public void setFieldId(String fieldId) {
		this.fieldId = fieldId;
	}

	public String getMetadataId() {
		return metadataId;
	}

	public void setMetadataId(String metadataId) {
		this.metadataId = metadataId;
	}

	public String getFieldCode() {
		return fieldCode;
	}

	public void setFieldCode(String fieldCode) {
		this.fieldCode = fieldCode;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public Integer getFieldType() {
		return fieldType;
	}

	public void setFieldType(Integer fieldType) {
		this.fieldType = fieldType;
	}

	public Integer getFieldLength() {
		return fieldLength;
	}

	public void setFieldLength(Integer fieldLength) {
		this.fieldLength = fieldLength;
	}

	public Integer getIsNotNull() {
		return isNotNull;
	}

	public void setIsNotNull(Integer isNotNull) {
		this.isNotNull = isNotNull;
	}

	public Integer getIsUnique() {
		return isUnique;
	}

	public void setIsUnique(Integer isUnique) {
		this.isUnique = isUnique;
	}

	public Integer getIsShow() {
		return isShow;
	}

	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}

	public String getEnumTypeId() {
		return enumTypeId;
	}

	public void setEnumTypeId(String enumTypeId) {
		this.enumTypeId = enumTypeId;
	}

	public Integer getShowIndex() {
		return showIndex;
	}

	public void setShowIndex(Integer showIndex) {
		this.showIndex = showIndex;
	}
	
	
}
